﻿using pdt.dal;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace pdt.bll
{
    public class ProductService
    {
        ProdbDataContext db = new ProdbDataContext();

        public object btn1(int v)
        {
            return (from pro in db.Product
                    where pro.p_id == v
                    select pro).ToList();
        } 
    }
}